package top.yunmouren.bukkit.Block;

import top.yunmouren.bukkit.util.BoundingBox;

import static io.lumine.xikage.mythicmobs.util.BlockUtil.isBreathable;

public interface Block extends org.bukkit.block.Block {
    default boolean isPassable(Block block){
       return isBreathable(block);
    }

    default BoundingBox getBoundingBox(Block block){
       if (isBreathable(block)){
           return new BoundingBox();
       }else {
           return new BoundingBox(1,1,1,1,1,1);
       }
    }
}
